WP_Defender\Controller\Main_Setting C

Total Complexity 102
Dependencies 20
Dependents 4
Total lines 913
Lines of code 589
Logical lines of code 253
Comment lines 224
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
clear_logs_from_files()
A
45 14 38
apply_config()
A
38 10 71
import_config()
A
41 8 61
update_config()
A
43 7 58
new_config()
A
43 6 53
delete_config()
S
46 6 42
download_config()
S
49 6 32
data_frontend()
S
47 5 36
clear_logs()
S
54 6 20
validate_importer()
S
56 5 18
get_configs_and_update_status()
S
58 4 15
intercept_settings_update()
S
63 4 10
save_settings()
S
54 2 23
reset_settings()
S
53 1 25
apply_config_recommendations_error_message()
S
57 1 18
__construct()
S
56 1 18
import_data()
S
69 2 7
track_opt()
S
69 2 7
check_cron_schedule()
S
72 2 5
enqueue_assets()
S
67 2 8
get_model()
S
72 2 6
check_configs()
S
76 1 4
to_array()
S
82 1 3
remove_data()
S
91 1 2
remove_settings()
S
81 1 3
export_strings()
S
82 1 3
main_view()
S
81 1 3